<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>await</title>
	</head>
	<body>
		<div id="show">
			
		</div>
		<script>
		function disp(s){
					 document.getElementById("show").innerHTML=s;
		}
		
		async function myFuction(){
			return "hello";
		}
		myFuction().then(function(v){
			disp(v);
		},function(err){
			disp(err);
		});
		</script>
	</body>
</html>
